math.lerp = function (a, b, p)
    return a + (b - a) * p
end

math.round = function (n)
    if n < 0 then
        return math.ceil(n)
    end
    return math.floor(n + 0.5)
end